(define-module (emacs prescient)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build-system emacs)
  #:use-module (guix packages)
  #:use-module (gnu packages emacs)
  #:use-module (gnu packages emacs-xyz)
  #:use-module (guix git-download))

(define-public emacs-prescient
  (let ( (commit "e985e7c2d4cd40c9e9311caa93c7f24945ddb2af")
        (revision "1"))
    (package
      (name "emacs-prescient")
      (version (git-version "2.1" revision commit))
      (source
       (origin
	 (method git-fetch)
	 (uri (git-reference
	       (url "https://github.com/raxod502/prescient.el.git")
               (commit commit)))
	 (sha256
          (base32
	   "0gxzhabvgyfdj2clg86zdwaxmwvs4izqzkmsfabw4c51z2anw7y6"))))
      (build-system emacs-build-system)
      (propagated-inputs
       `(("emacs-company" ,emacs-company)
	 ("emacs-ivy" ,emacs-ivy)))
      (home-page
       "https://github.com/raxod502/prescient.el")
      (synopsis "Better sorting and filtering.")
      (description
       "prescient.el is a general-purpose library for sorting and
filtering candidates.")
      (license #f))))


